import 'dotenv/config'
import { defineConfig } from 'drizzle-kit'
export default defineConfig({
  out: './server/drizzle',
  schema: './server/database/schema.ts',
  dialect: 'postgresql',
  dbCredentials: {
    url: process.env.DATABASE_URL!,
  },
  migrations: {
    table: 'migrations', // `__drizzle_migrations` by default
    schema: 'drizzle', // used in PostgreSQL only, `drizzle` by default
  },
})

